<form action="<?=$url ?>">
    <div class="input-group my-3">
        <input type="text" name="_k" class="form-control" placeholder="输入关键词" required>
        <button class="btn btn-primary" type="submit">搜 索</button>
    </div>
</form>